import urllib2
from bs4 import BeautifulSoup as bs
from models import Title
def catch(url):
    resp=urllib2.urlopen(url)
    soup=bs(resp,"html.parser")
    list=soup.findAll("div","card_cnt_cnt")
    for i in list:
        Title.objects.create(head=i.string)
